[INFO] cloning repository https://github.com/olegkich/simple-rust-blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/olegkich/simple-rust-blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folegkich%2Fsimple-rust-blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folegkich%2Fsimple-rust-blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a5b8f6388d9543ab7636ee341987318dd4bf3940
[INFO] testing olegkich/simple-rust-blockchain against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folegkich%2Fsimple-rust-blockchain" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/olegkich/simple-rust-blockchain
[INFO] finished tweaking git repo https://github.com/olegkich/simple-rust-blockchain
[INFO] tweaked toml for git repo https://github.com/olegkich/simple-rust-blockchain written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/olegkich/simple-rust-blockchain on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/olegkich/simple-rust-blockchain already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded iana-time-zone v0.1.53
[INFO] [stderr]   Downloaded tiny-gradient v0.1.0
[INFO] [stderr]   Downloaded cxxbridge-flags v1.0.83
[INFO] [stderr]   Downloaded once_cell v1.16.0
[INFO] [stderr]   Downloaded cc v1.0.77
[INFO] [stderr]   Downloaded cxxbridge-macro v1.0.83
[INFO] [stderr]   Downloaded cxx-build v1.0.83
[INFO] [stderr]   Downloaded cxx v1.0.83
[INFO] [stderr]   Downloaded chrono v0.4.23
[INFO] [stderr]   Downloaded syn v1.0.105
[INFO] [stderr]   Downloaded libc v0.2.138
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e93d2dc9c4ef017c54b7060232a97dc902e77ad6f07af6d439349ebe729f2309
[INFO] running `Command { std: "docker" "start" "-a" "e93d2dc9c4ef017c54b7060232a97dc902e77ad6f07af6d439349ebe729f2309", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e93d2dc9c4ef017c54b7060232a97dc902e77ad6f07af6d439349ebe729f2309", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e93d2dc9c4ef017c54b7060232a97dc902e77ad6f07af6d439349ebe729f2309", kill_on_drop: false }`
[INFO] [stdout] e93d2dc9c4ef017c54b7060232a97dc902e77ad6f07af6d439349ebe729f2309
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 29153c52b23e7a0e435dc0f7c928d9dcb2f200c4d21aecea5ca674049ab14176
[INFO] running `Command { std: "docker" "start" "-a" "29153c52b23e7a0e435dc0f7c928d9dcb2f200c4d21aecea5ca674049ab14176", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling libc v0.2.138
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling libm v0.2.6
[INFO] [stderr]    Compiling iana-time-zone v0.1.53
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.3
[INFO] [stderr]    Compiling tiny-gradient v0.1.0
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling chrono v0.4.23
[INFO] [stderr]    Compiling blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ops::Index`
[INFO] [stdout]  --> src/main.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{io, ops::Index};
[INFO] [stdout]   |               ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `previous_hash`, `data`, and `nonce` are never read
[INFO] [stdout]   --> src/blockchain.rs:9:3
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Block {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  9 |   previous_hash: String,
[INFO] [stdout]    |   ^^^^^^^^^^^^^
[INFO] [stdout] 10 |   data: String,
[INFO] [stdout]    |   ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |   nonce: usize
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `difficulty` is never read
[INFO] [stdout]   --> src/blockchain.rs:23:3
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Chain {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 22 |   blocks: Vec<Block>,
[INFO] [stdout] 23 |   difficulty: usize
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.42s
[INFO] running `Command { std: "docker" "inspect" "29153c52b23e7a0e435dc0f7c928d9dcb2f200c4d21aecea5ca674049ab14176", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29153c52b23e7a0e435dc0f7c928d9dcb2f200c4d21aecea5ca674049ab14176", kill_on_drop: false }`
[INFO] [stdout] 29153c52b23e7a0e435dc0f7c928d9dcb2f200c4d21aecea5ca674049ab14176
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 93e784c4f15e67577507ed5edd450796bdfa5e6a17c0248e21ac46b397242721
[INFO] running `Command { std: "docker" "start" "-a" "93e784c4f15e67577507ed5edd450796bdfa5e6a17c0248e21ac46b397242721", kill_on_drop: false }`
[INFO] [stderr]    Compiling blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ops::Index`
[INFO] [stdout]  --> src/main.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{io, ops::Index};
[INFO] [stdout]   |               ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `previous_hash`, `data`, and `nonce` are never read
[INFO] [stdout]   --> src/blockchain.rs:9:3
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Block {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  9 |   previous_hash: String,
[INFO] [stdout]    |   ^^^^^^^^^^^^^
[INFO] [stdout] 10 |   data: String,
[INFO] [stdout]    |   ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |   nonce: usize
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `difficulty` is never read
[INFO] [stdout]   --> src/blockchain.rs:23:3
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Chain {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 22 |   blocks: Vec<Block>,
[INFO] [stdout] 23 |   difficulty: usize
[INFO] [stdout]    |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s
[INFO] running `Command { std: "docker" "inspect" "93e784c4f15e67577507ed5edd450796bdfa5e6a17c0248e21ac46b397242721", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93e784c4f15e67577507ed5edd450796bdfa5e6a17c0248e21ac46b397242721", kill_on_drop: false }`
[INFO] [stdout] 93e784c4f15e67577507ed5edd450796bdfa5e6a17c0248e21ac46b397242721
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] db9c7f9e22cc621c86c063cd35d8fd47ba48e5e88955a9d84aad060202026669
[INFO] running `Command { std: "docker" "start" "-a" "db9c7f9e22cc621c86c063cd35d8fd47ba48e5e88955a9d84aad060202026669", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `ops::Index`
[INFO] [stderr]  --> src/main.rs:5:15
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::{io, ops::Index};
[INFO] [stderr]   |               ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `previous_hash`, `data`, and `nonce` are never read
[INFO] [stderr]   --> src/blockchain.rs:9:3
[INFO] [stderr]    |
[INFO] [stderr]  6 | pub struct Block {
[INFO] [stderr]    |            ----- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr]  9 |   previous_hash: String,
[INFO] [stderr]    |   ^^^^^^^^^^^^^
[INFO] [stderr] 10 |   data: String,
[INFO] [stderr]    |   ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 13 |   nonce: usize
[INFO] [stderr]    |   ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `difficulty` is never read
[INFO] [stderr]   --> src/blockchain.rs:23:3
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub struct Chain {
[INFO] [stderr]    |            ----- field in this struct
[INFO] [stderr] 22 |   blocks: Vec<Block>,
[INFO] [stderr] 23 |   difficulty: usize
[INFO] [stderr]    |   ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `blockchain` (bin "blockchain" test) generated 3 warnings (run `cargo fix --bin "blockchain" -p blockchain --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/blockchain-22a33392a661dd2e)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "db9c7f9e22cc621c86c063cd35d8fd47ba48e5e88955a9d84aad060202026669", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db9c7f9e22cc621c86c063cd35d8fd47ba48e5e88955a9d84aad060202026669", kill_on_drop: false }`
[INFO] [stdout] db9c7f9e22cc621c86c063cd35d8fd47ba48e5e88955a9d84aad060202026669
